import * as React from "react";
const { useState } = React;

const App = () => {
  const [count, setCount] = useState(0);
  return (
    <div className="container">
      <h1 onClick={() => setCount(prev => prev + 1)}>{count}</h1>
      <h2>222</h2>
    </div>
  );
};

export default App;
